package com.lagou.gateway;

import java.util.List;

public class CORSItem{
    private String path;
    private List<String> addAllowedMethod;
    private List<String> addAllowedOrigin;
    private List<String> addAllowedHeader;
    public void setPath(String path) {
        this.path = path;
    }
    public void setAddAllowedMethod(List<String> addAllowedMethod) {
        this.addAllowedMethod = addAllowedMethod;
    }
    public void setAddAllowedOrigin(List<String> addAllowedOrigin) {
        this.addAllowedOrigin = addAllowedOrigin;
    }
    public void setAddAllowedHeader(List<String> addAllowedHeader) {
        this.addAllowedHeader = addAllowedHeader;
    }

    public String getPath() {
        return path;
    }

    public List<String> getAllowedMethods() {
        return addAllowedMethod;
    }

    public List<String> getAllowedOrigins() {
        return addAllowedOrigin;
    }

    public List<String> getAllowedHeaders() {
        return addAllowedHeader;
    }
}